From: Boyuan Yang Date: Sun, 19 Sep 2021 00:41:23 +0000 (-0400) Subject: debian/patches: Refresh patch 0005 X-Git-Tag: archive/raspbian/1.1.9+ds1-4+rpi1^2^2~65 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/?a=commitdiff_plain;h=e9f0da26bc549209ccc722feec3fac7d01ac345f;p=opencc.git debian/patches: Refresh patch 0005 --- diff --git a/debian/patches/0005-Use-system-googletest.patch b/debian/patches/0005-Use-system-googletest.patch index 783d6bb..fe33914 100644 --- a/debian/patches/0005-Use-system-googletest.patch +++ b/debian/patches/0005-Use-system-googletest.patch @@ -3,20 +3,21 @@ Date: Sat, 6 Mar 2021 17:53:25 +0800 Subject: Use system googletest Forwarded: not-needed +Last-Update: 2021-09-18 --- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + CMakeLists.txt | 2 ++ + 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt -index efb51ae..e26b934 100644 +index 094a9c7..a9ac2f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -195,7 +195,7 @@ add_subdirectory(test) - ######## Testing - +@@ -204,6 +204,8 @@ add_subdirectory(test) if (ENABLE_GTEST) -- add_subdirectory(deps/gtest-1.11.0) -+ add_subdirectory(/usr/src/googletest/googletest ${CMAKE_BINARY_DIR}/googletest-build EXCLUDE_FROM_ALL) + if(NOT USE_SYSTEM_GTEST) + add_subdirectory(deps/gtest-1.11.0) ++ else() ++ add_subdirectory(/usr/src/googletest/googletest ${CMAKE_BINARY_DIR}/googletest-build EXCLUDE_FROM_ALL) + endif() enable_testing() endif() -